#include <iostream>
#include <unistd.h>
#include <cstdlib>

int main()
{
    char s[1024];
    std::cout << getcwd(s, sizeof(s)) << std::endl;
    std::cout << getenv("PWD") << std::endl;

    return 0;
}
